-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoid setting out of range DAScale values #2184
Avoid setting out of range DAScale values #2184
Conversation
fdd77a9
to
4db0a55
Compare
4db0a55
to
8833ec8
Compare
17eb7cf
to
9526a6e
Compare
9fdf459
to
c273d9e
Compare
c273d9e
to
d405cc7
Compare
1c6935c
to
dd12972
Compare
4de9fa6
to
0690cc7
Compare
1a5b7fd
to
0df5774
Compare
@timjarsky Can be reviewed once #2290 is merged. |
With small amplitude events. See PXP. |
I see the exact same behaviour in main and also in the older 2.7 version. The scale value of 330 for DA1 seems to be too high. |
@t-b I think I was in VC when I thought I was in CC. I'll double-check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some values in DataWave exceed device limits for DATA_ACQUISITION mode (channel index 1, position 53333). Maybe the DA/AD Gain needs adjustment?
Instead of suggesting the gain adjustment, suggest a DA scale adjustment.
Feel free to merge after making the change.
We need to calculate the extrema after filling them into the final stimset to accomodate for trailing baseline which is zero.
When limitCheck is true we now return 1 when setting the new DAScale value would be out of range for the current external command sensitivity of the MCC amplifier. This also requires that we now pass in the sweep number. The default of limitCheck is still false. Only when all analysis functions are ported, can we flip the default.
We can't check the limits in the PRE_DAQ_EVENT event, so we have to disable it there.
…rge values Change requested by Tim Jarsky.
0df5774
to
db6e32c
Compare
Will merge once CI passes per #2184 (review). |
PSQ_Rampnot neededPSQ_Rampnot neededReachTargetVoltagenot neededPSQ_Rampnot neededReachTargetVoltagenot neededPSQ_Rampnot neededRequires:
Close #2120